export const LogItem = (props) =>{
    return  <div className="item">
        <div className="date">
            <div className="month">{props.date.toLocaleString('zh-CN',{month:'long'})}</div>
            <div className="day">{props.date.getDate()}</div>
        </div>
         {/* 日志内容的容器 */}
        <div className="content">
            <h2 className="desc">{props.desc}</h2>
            <div className="time">40分钟</div>
        </div>
    </div>
}